package base.BeD.Third;

public class Exercise2 {
	public static void main(String[] args) {
		TheFloat f1 = new TheFloat();
		TheFloat f2 = new TheFloat();
		f1.f = 19f;
		f2.f = 20f;
		System.out.println("f1.f:"+f1.f+", f2.f:"+f2.f);
		f1 = f2;
		System.out.println("f1.f:"+f1.f+", f2.f:"+f2.f);
		f1.f = 40;
		System.out.println("f1.f:"+f1.f+", f2.f:"+f2.f);
	}
	
}

class TheFloat{
	float f;
}
